package com.xd.common.config.annotation;


import com.xd.common.config.jpa.JpaAuditor;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;

import java.lang.annotation.*;

/**
 * 开启jpa审计
 * @author hbx
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ImportAutoConfiguration(classes = JpaAuditor.class)
public @interface EnableJpaAuditor {
}
